﻿using SqlSugar;

namespace apitest.Application.Entities.Pms
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("GuangAn_TestRecord")]
    public partial class GuangAn_TestRecord
    {
        public GuangAn_TestRecord()
        {


        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>      
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SampleUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? SampleUserId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime StartTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? FinishTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Department { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ProjectCode { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Batch { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Cat { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TestType { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Categorys { get; set; }
        [SugarColumn(IsIgnore = true)]
        public List<string> Category { get; set; }


        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SampleFrom { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        public string Status { get; set; }
        public string Analysis { get; set; }
        public bool IsSpecialCode { get; set; }
        public bool IsDelete { get; set; }
        public int? DelUserId { get; set; }
        public string DelUserName { get; set; }
        public string DelTime { get; set; }
        //预计检测周期
        public double? ExpectDay { get; set; }
        //预计完成日期
        public DateTime? EstimatedTime { get; set; }

    }

    public class ga_testtypeClass
    {
        public string name { get; set; }
        public double price { get; set; }
        public int hour { get; set; }
        public string group { get; set; }
        public string  des { get; set; }
        //public string _XID { get; set; }
    }
}
